﻿using System;
namespace YuuzleComic.Model
{
	/// <summary>
	/// admin:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class admin
	{
		public admin()
		{}
		#region Model
		private int _id;
		private string _username;
		private string _password;
		private string _oskey;
		private string _loginip;
		private DateTime? _logintime;
		private DateTime? _logouttime;
		private int? _logintimes=0;
		private bool _lockuser= false;
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Username
		{
			set{ _username=value;}
			get{return _username;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Password
		{
			set{ _password=value;}
			get{return _password;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string oskey
		{
			set{ _oskey=value;}
			get{return _oskey;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string LoginIP
		{
			set{ _loginip=value;}
			get{return _loginip;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? LoginTime
		{
			set{ _logintime=value;}
			get{return _logintime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? LogoutTime
		{
			set{ _logouttime=value;}
			get{return _logouttime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? LoginTimes
		{
			set{ _logintimes=value;}
			get{return _logintimes;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool lockuser
		{
			set{ _lockuser=value;}
			get{return _lockuser;}
		}
		#endregion Model

	}
}

